dm: phy: add missing #ifdef CONFIG_PHY
authorPatrice Chotard <[email protected]>
Mon, 24 Jul 2017 15:07:02 +0000 (17:07 +0200)
committerMarek Vasut <[email protected]>
Fri, 28 Jul 2017 21:34:41 +0000 (23:34 +0200)
commitd9fb7bece056522d659d9e17b73b3fd5549817c3
tree142ea9a1b71f15a782af92d9383f07359ab4750c
parent6fa8dddd069db868d64948e70c40f3d75a9fa253
dm: phy: add missing #ifdef CONFIG_PHY

To avoid compilation breakage on platform that doesn't
support DM PHY but uses xhci-dwc3 driver, add the missing
CONFIG_PHY flag.

Introduced by patch :
84e53877 "usb: host: xhci-dwc3: Add generic PHY support"

Cc: Ran Wang <[email protected]>
Cc: Bin Meng <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
Reported-by: Ran Wang <[email protected]>
include/generic-phy.h